<?php

/**
 * @author lebachvu
 * @copyright 2012
 */

interface Readable{
    public function isRead();
    public function markAsRead();
    public function markAsUnread();    
} 

interface Deletable{
    public function isRead();
    public function markAsRead();
    public function markAsUnread();    
} 

interface MessagingNode extends Readable, Deletable{
}

class ForumTopic extends Node implements MessagingNode{
    public function getView(){
        return "This is a View into ". __CLASS__;
    }    
}
?>